package Models

import (
	"time"
)

func UnixToTime(timestemp int) string {

	t := time.Unix(int64(timestemp), 0)
	return t.Format("2006-01-02 15:04:05")
}

func GetUnix() int {
	return int(time.Now().Unix())
}
